import RPi.GPIO as gpio
import time

PORT=17

gpio.setwarnings(False)
gpio.setmode(gpio.BCM)

time.sleep(1)


gpio.setup(PORT, gpio.IN)

while True:
    # manual said low voltage work? from test we got high voltage worked.
    if gpio.input(PORT) == 0:
        print "Yes"


gpio.cleanup()
